package com.runshu.newsmartark.mvp.contract;

import com.runshu.newsmartark.network.netbean.ResponseBean;
import com.runshu.newsmartark.network.netinterface.BaseCallBack;

/**
 * Demo class
 *
 * @author yu
 * @date 2020/10/27
 * @decs：
 */

public interface MainHomeContract {
    interface Model {

        void getIndexCount(String mac, BaseCallBack baseCallBack);

        void getHdInfo(String hwMac, BaseCallBack baseCallBack);

        void getInventorySum(String customerId,String hospitalId,String hwMac,BaseCallBack baseCallBack);
    }

    interface View {

        void getIndexCount(ResponseBean responseBean);

        void getHdInfoSuccess(ResponseBean responseBean);

        void getInventorySumSuccess(ResponseBean responseBean);

        void onError(String msg);


    }

    interface Presenter {

        void getIndexCount(String mac);

        void getInventorySum(String customerId,String hospitalId,String hwMac);


        void getHdInfo(String hwMac);

    }
}
